home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 6 / The Arsenal Files 6 (Arsenal Computer).ISO / doorware / node105.zip / DOWNLOAD.BAT < prev    next >
DOS Batch File  |  1996-01-17  |  5KB  |  117 lines

  1. @echo off
  2. REM **********************************************************************
  3. REM       * THIS FILE NEEDED FOR THE NODEVIEW DOWNLOAD FUNCTIONS *
  4. REM ***********************************************************************
  5. REM
  6. REM I use the CEXYZ download protocol engine for all my downloading.
  7. REM CEXYZ is Copyright (C) 1993 by Cutting Edge Computing
  8. REM (The Blue Wave QWk Mail Door maker's).
  9. REM It looks and works great plus it uses very little resources!
  10. REM I suggest using CEXYZ to take full advantage of the current download
  11. REM menu's, otherwise you'll have to edit the menus and find other programs
  12. REM for your download menu. Some of you will like this option though, because
  13. REM of it's flexibility allowing alternate protocol's.
  14. REM If you want to use the CEXYZ program, then all you'll need to do
  15. REM is copy the CEXYZ.EXE file to the Nodeview home directory and your done!
  16. REM You can file request FileName CE-XYZ.ZIP from my BBS at fido 
  17. REM 1:205/65 or call and download first call.
  18. REM
  19. REM ***********************************************************************
  20. REM
  21. REM For those that wish to use their own download programs such as DSZ
  22. REM IceZmodem, etc.  The following will be passed on the command line
  23. REM for your Protocol, trap the %4 variable in your batch file for your
  24. REM protocol of choice. You could actually use any protocol that you'd
  25. REM like to use! You could edit the download menu and substitute your 
  26. REM protocol's on the menu and then trap the %4 errorlevel in this batch
  27. REM file to load any protocol that you like! See below for example.
  28. REM
  29. REM ************************************
  30. REM ** PARAMETERS PASSED BY NODEVIEW  **
  31. REM ************************************
  32. REM %1=Port %2=Baud %3=Locked Baud %4=Protocol %5=Filename %6=Username
  33. REM IF "%4"=="/Sz"   Goto Zmodem
  34. REM IF "%4"=="/Szap" Goto ZedZap
  35. REM IF "%4"=="/Sy"   Goto Ymodem
  36. REM IF "%4"=="/Syg"  Goto Ymodem-G
  37. REM IF "%4"=="/Sx1k" Goto Xmodem-1K
  38. REM IF "%4"=="/Sx"   Goto Xmodem
  39. REM ************************************
  40. REM **     CEXYZ PARAMETERS USED      **
  41. REM ************************************
  42. REM /P%1=Port /B%2=Baud /L%3=Locked Baud %4=Protocol %5=Filename %6=Username
  43. REM /Ufos /UDir /UFas
  44. REM ***********************************************************************
  45. REM  /U<method>   -  The /U command line parameter tells the FTP which serial
  46. REM                  communications method to use.  The <method> can be one of
  47. REM                  the following:
  48. REM               /Ufos  -  Use the installed FOSSIL for port communications.
  49. REM                         This is the default mode.  If you want FOSSIL
  50. REM                         communications, you need not specify a /U
  51. REM                         parameter.
  52. REM
  53. REM               /Udir  -  Use direct (standard) communications.  Next to
  54. REM                         having an installed, working FOSSIL driver, this
  55. REM                         method is the most compatible.
  56. REM
  57. REM               /Ufas  -  Use the FAST, interrupt driven communications
  58. REM                         routines.  This may not be compatible with all
  59. REM                         serial cards and/or BIOS.  The FTP will "take
  60. REM                         over" INT 14h, and restore the previous 14h
  61. REM                         vector upon termination.  (This should allow you
  62. REM                         to use /Ufas, even if you also have a FOSSIL
  63. REM                         driver installed.  A FOSSIL "int 14 recapture"
  64. REM                         should *not* be necessary upon normal
  65. REM                         termination.  If you experience lockups, it is
  66. REM                         most likely interference from other TSR
  67. REM                         programs or system incompatibilities.  In this
  68. REM                         case, use /Udir instead.
  69. REM ***********************************************************************
  70. REM Rem or Takeout the CEXYZ lines's if you don't use CEXYZ.EXE program
  71. REM ***********************************************************************
  72. REM ************************************
  73. REM **     CEXYZ COMMAND IN USE       **
  74. REM ************************************
  75.  
  76. cexyz.exe /P%1 /B%2 /L%3 /Udir %4 %5 %6
  77. goto End
  78.  
  79. REM ************************************
  80. REM **          DSZ IN USE            **
  81. REM ************************************
  82.  
  83. IF "%4"=="/Sz"   Goto Zmodem
  84. IF "%4"=="/Szap" Goto ZedZap
  85. IF "%4"=="/Sy"   Goto Ymodem
  86. IF "%4"=="/Syg"  Goto YmodemG
  87. IF "%4"=="/Sx"   Goto Xmodem
  88. IF "%4"=="/Sx1k" Goto Xmodem1K
  89. GOTO END
  90.  
  91. :ZMODEM
  92. dsz.com ha on port %1 speed %3 sz %5
  93. GOTO End
  94.  
  95. :ZEDZAP
  96. Echo Protocol Not available with DSZ ..
  97. GOTO End
  98.  
  99. :YMODEM
  100. dsz.com ha on Port %1 speed %3 sb %5
  101. Goto End
  102.  
  103. :YMODEMG
  104. REM ** Requires Registered Dsz **
  105. dsz.com ha on Port %1 speed %3 sb -g %5
  106. Goto End
  107.  
  108. :XMODEM
  109. dsz.com ha on port %1 speed %3 sx %5
  110. Goto End
  111.  
  112. :XMODEM1K
  113. dsz.com ha on port %1 speed %3 sx -k %5
  114. Goto End
  115.  
  116. :END
  117.